Some Implementation Results on Random Polling Dynamic Load Balancing 2 Sequential Algorithms

نویسنده

  • Peter Sanders
چکیده

Using two sample applications, we demonstrate the eeectiveness of our portable and reusable library for parallel tree search. On 1024 Transputers we achieve near optimal speedup even for quite small instances of the Golomb ruler problem. The 0/1 knapsack problem is more challenging but it is possible to achieve superlinear speedup compared to the standard sequential depth rst algorithm the implementation is based on. 1 The Problem Many algorithms in operations research and artiicial intelligence are based on depth rst search in implicitly deened trees. Since these problems are often very time consuming , parallelization is an attractive approach to extend the applicability of these algorithms. Unfortunately, the current status of parallel programming tools and the background of application programmers make an eeective parallelization diicult. This problem can be (partially) solved by encapsulating the parallelization into an application independent library. We outline the design and implementation of such a library and demonstrate its eeectiveness using the following two examples: A Golomb ruler 1] of length m with n marks at the integer positions 0 = m 1 , m 2 ,. .. , m n = m has the property jfm j ? m i : 1 i < j ngj = n(n ? 1)=2, i.e., the ruler can be used to measure a maximum number of distances. For a given n we want to nd a Golomb ruler with minimal m. These rulers have applications in interferometry and telematics. An instance of the 0-1 knapsack problem is deened by n items with weight w i and proot p i and a knapsack of capacity M. We are looking for x i 2 f0; 1g such that P p i x i is maximized subject to the constraint P w i x i M. Next to the traveling salesman problem, the knapsack problem might be one of the most extensively studied discrete optimization problems 5]. The Golomb ruler problem is solved using backtracking. On level i of the search tree mark i is placed. Starting from a trivial approach, we introduced a number of heuristics 1

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Analysis of Random Polling Dynamic Load Balancing

Dynamic load balancing is crucial for the performance of many parallel algorithms. Random Polling, a simple randomized algorithm, has proved to be very eecient in practice for applications like parallel depth rst search. This paper derives tight bounds for the scalability of Random Polling which are for the rst time able to explain its superior performance analytically. In some cases, Random Po...

متن کامل

A detailed analysis of random polling dynamic load balancing

Dynamic load balancing is crucial for the performance of many parallel algorithms. Random Polling, a simple randomized load balancing algorithm, has proved to be very eecient in practice for applications like parallel depth rst search. This paper presents a detailed analysis of the algorithm taking into account many aspects of the underlying machine and the application to be load balanced. It d...

متن کامل

Randomized Receiver Initiated Load-balancing Algorithms for Tree-shaped Computations

This paper considers generic load-balancing algorithms which efficiently parallelize a large class of applications based on traversing implicitly defined trees with irregular shape. First, a previous model is generalized yielding tree-shaped computations which cover the cost for communication and problem splitting, a measure of granularity and an easy to quantify parameter which limits irregula...

متن کامل

Cluster Load Balancing for Fine-Grain Network Services

This paper studies cluster load balancing policies and system support for fine-grain network services. Load balancing on a cluster of machines has been studied extensively in the literature, mainly focusing on coarse-grain distributed computation. Fine-grain services introduce additional challenges because system states fluctuate rapidly for those services and system performance is highly sensi...

متن کامل

A General Matrix Iterative Model for Dynamic Load Balancing

Effective load balancing algorithms are crucial in fully realizing the performance potential of parallel computer systems. This paper proposes a general matrix iterative model to represent a range of dynamic load balancing algorithms. The model and associated performance measures are used to evaluate and compare vairous load balancing algorithms and derive optimal algorithms and associated para...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995